package com.tmeone.erpone.entity;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * <p>
 * 
 * </p>
 *
 * @author YJLJBD
 * @since 2021-04-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
@AllArgsConstructor
public class TPar implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO)
    private String id;

    private String tParStatus;

    private String tParStatus2;

    private String staffName;

    private LocalDateTime tParTime;

    private String tAprDesc;

    /**
     * 申请公司ID
     */
    private Integer tParComA;

    /**
     * 被申请公司ID
     */
    private Integer tParComB;

    /**
     * 是客户(0)还是供应商(1)
     */
    private String tParRel;
    @TableField(exist = false)
    private Customer customer;
}
